import regeneratorRuntime from '../utils/runtime'
import {loading,toast} from '../utils/ajaxSetting'
import {wxHttp} from '../ajax/ajax'
const messageSubscription= async (options)=>{
	return wxHttp({
		name: 'authorization',
      	data: {
			$url: 'messageSubscription',
			...options.data
		},
	})
}

const login = async (options)=>{
	return wxHttp({
		name: 'login',
	})
}

const getQrCode = async (options)=>{
	return wxHttp({
		name: 'getQrCode',
		data: {
			$url: 'getQrCode',
		}
	})
}

export{
	messageSubscription,
	login,
	getQrCode
}
